//
//  CTMediator+WSAlterAction.h
//  CharonTVProject
//
//  Created by karong on 2023/6/21.
//

#import "CTMediator.h"

NS_ASSUME_NONNULL_BEGIN

@interface CTMediator (WSAlterAction)

/// title 标題
/// content 正文
/// confirm 確認按钮
/// confirmHandle 確認按鈕回調
/// cancel 取消按钮
- (UIViewController *)ct_showcharonTV_AlterWithTitle:(NSString *)title
                                    content:(NSString *)content
                                    confirm:(NSString *)confirm
                              confirmHandle:(charonTV_EmptyBlock)confirmHandle
                                     cancel:(NSString *)cancel;
///签到规则
- (UIViewController *)ct_showcharonTV_RoleAlter;

/// 單行輸入彈窗
- (UIViewController *)ct_showcharonTV_TFAlterWithTitle:(NSString *)title
                                      content:(NSString *)content
                               placeholderStr:(NSString *)placeholderStr
                                 maxWordCount:(NSInteger)maxWordCount
                                      confirm:(NSString *)confirm
                                confirmHandle:(charonTV_StringBlock)confirmHandle
                                       cancel:(NSString *)cancel;

/// 多行輸入彈窗
- (UIViewController *)ct_showcharonTV_TVAlterWithTitle:(NSString *)title
                                      content:(NSString *)content
                                 maxWordCount:(NSInteger)maxWordCount
                                      confirm:(NSString *)confirm
                                confirmHandle:(charonTV_StringBlock)confirmHandle
                                       cancel:(NSString *)cancel;

/// 單行輸入彈窗
- (UIViewController *)ct_showcharonTV_PickerAlterWithTitle:(NSString *)title
                                        dataArray:(NSArray *)dataArray
                                     selectHandle:(charonTV_AnyObjectBlock)selectHandle;
@end

NS_ASSUME_NONNULL_END
